﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Models
{
    /// <summary>
    /// 手机型号表
    /// </summary>
    [Table("PhoneModel")]
    public class PhoneModel
    {

        /// <summary>
        /// 自然主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 型号名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 品牌名称
        /// </summary>
        public String BrandId { get; set; }

        /// <summary>
        /// 官网售价
        /// </summary>
        public String Price { get; set; }

        /// <summary>
        /// 型号备注
        /// </summary>
        public String Desc { get; set; }

    }
}